package com.finance.cooperate.strategy.core.strategy;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * @ClassName Strategy
 * @Description 策略实体
 * @Author shenanxin
 * @Date 2023/8/23 15:14
 * @Modify ...
 */
@Data
@ToString
public class Strategy implements Serializable {

    private static final long serialVersionUID = -4763102917282297189L;

    // 规则名称
    private String name;

    // 是否命中
    private boolean isHit = false;

    // 初始分
    private Double initSore;

    // 转换分
    private Double finalScore;

    // 是否继续执行
    private boolean isContinueExecute = true;

    // 分组
    private String group;


    // 命中详情[保存json数据]
    private String data;
}
